<%@ page language="java" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib prefix="sec"
	uri="http://www.springframework.org/security/tags"%>
<%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
<%
    String path = request.getContextPath();
			String basePath = request.getScheme() + "://"
					+ request.getServerName() + ":" + request.getServerPort()
					+ path + "/";
%>
<%@ include file="/inc.jsp" %>
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>闪耀先生-会员与权益</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />    
    <!-- style -->
    <link href="${pageContext.request.contextPath }/vip/css/usercenter.css" rel="stylesheet">
  </head>
  <body>
    <div class="memberinfobox paddingtop">
      <div class="memberinfo vipmember">
       
        <div class="membertext">
          <p><strong>${nickname }</strong><span style="color:#fff;font-weight:400;padding-left:3px;">${phone }</span></p>
          <p>
          			<s:if test="fdType == '10' ">
						准会员
					</s:if>
					<s:elseif test="fdType == '20' ">
						银卡会员
					</s:elseif>
					<s:elseif test="fdType == '30' ">
						金卡会员
					</s:elseif>
					<s:elseif test="fdType == '40' ">
						VIP会员
					</s:elseif>
					<s:else>
						非会员
					</s:else>
			</p>
          <p class="white">加入时间：<s:date name="createTime" format="yyyy-MM-dd HH:ss" /> </p>
        </div><!--E .membertext-->
        <div class="clearfix"></div>
        <div class="welfare noborder">
          <ul>
            <li>
              <i class="ico yq"></i><span><strong>${invNum }</strong> <br>邀请函</span>
            </li>
            <li>
              <i class="ico nk"></i><span><strong>${goldBt }</strong> <br>金纽扣</span>
            </li>
            <li>
              <i class="ico cs"></i><span><strong>${csTicket }</strong> <br>衬衫券</span>
            </li>
            <li>
              <i class="ico free"></i><span><strong>${smTicket }</strong> <br>免费上门</span>
            </li>
          </ul>
        </div><!--E .welfare-->
      </div><!--E .memberinfo-->
    </div><!--E .memberinfobox-->

     <div class="block buybox">
      <h3>发送邀请函</h3>
      <div class="sendbox">
        <div class="sendpic"><img src="${pageContext.request.contextPath }/vip/images/sinvitimg.jpg"></div><!--E .sendpic-->
        <div class="sendtext">给你的朋友发送尊贵邀请函，跟你一起优雅闪耀吧。</div><!--E .sendtext-->
        <a href="${pageContext.request.contextPath }/public/vipAction!sendInvListWx.action" class="arrow"><img src="${pageContext.request.contextPath }/vip/images/arrow.png"></a>
      </div><!--E .sendbox-->
    </div><!--E .buybox-->

    <div class="block buybox">
      <h3>赠送礼品卡</h3>
      <div class="sendbox">
        <div class="sendpic"><img src="${pageContext.request.contextPath }/vip/images/sgiftcard.jpg"></div><!--E .sendpic-->
        <div class="sendtext">给朋友送一件衬衫，定制的才最尊贵！<p> 你有 <strong class="org">${csTicket }</strong> 张衬衫券可以兑换。</p></div><!--E .sendtext-->
        <a href="${pageContext.request.contextPath }/public/vipAction!buyGiftCardWx.action?fdType=10" class="arrow"><img src="${pageContext.request.contextPath }/vip/images/arrow.png"></a>
      </div><!--E .sendbox-->
    </div><!--E .buybox-->
    
    <div class="block buybox quanyi">
      <h3>会员权益</h3>
      <ul class="qyico">
        <li><i class="ico yq"></i><p>邀请函</p></li>
        <li><i class="ico nk"></i><p>金纽扣 </p></li>
        <li><i class="ico cs"></i><p>衬衫券</p></li>
        <li><i class="ico free"></i><p>免费上门<br>量体服务</p></li>
        <li><a href="##" class="arrow"><img src="${pageContext.request.contextPath }/vip/images/arrow.png"></a></li>
      </ul>
    </div><!--E .quanyi-->
  </body>
</html>